package org.glow.changgou.goods.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @Author Glow
 * @Date 2022-09-19 11:45:45
 * @Description 产品参数表
 * @Version 1.0
 */
@ApiModel(description = "Para",value = "Para")
@TableName("tb_para")
public class Para implements Serializable {

    @ApiModelProperty(value = "id",required = false)
    @TableId("id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Integer id;//id
    @ApiModelProperty(value = "名称",required = false)
    @Column(name = "name")
    private String name;//名称
    @ApiModelProperty(value = "选项",required = false)
    @Column(name = "options")
    private String options;//选项
    @ApiModelProperty(value = "排序",required = false)
    @Column(name = "seq")
    private Integer seq;//排序
    @ApiModelProperty(value = "模板ID",required = false)
    @Column(name = "template_id")
    private Integer templateId;//模板ID


    //get方法
    public Integer getId() {
        return id;
    }

    //set方法
    public void setId(Integer id) {
        this.id = id;
    }
    //get方法
    public String getName() {
        return name;
    }

    //set方法
    public void setName(String name) {
        this.name = name;
    }
    //get方法
    public String getOptions() {
        return options;
    }

    //set方法
    public void setOptions(String options) {
        this.options = options;
    }
    //get方法
    public Integer getSeq() {
        return seq;
    }

    //set方法
    public void setSeq(Integer seq) {
        this.seq = seq;
    }
    //get方法
    public Integer getTemplateId() {
        return templateId;
    }

    //set方法
    public void setTemplateId(Integer templateId) {
        this.templateId = templateId;
    }


}
